package com.fancy.learncenter.bean;

import java.util.List;

/**
 * Created by Hyy on 2017/1/9.
 */

public class AudioDataBean {


    /**
     * resourceVOList : [{"id":2,"name":"测试音频资源一","coverImg":"http://img.fancyedu.com/sys/ic/operation/1476428279958_art-2.jpg","recordFrom":1,"customerId":10000021604,"resourceId":47,"createTime":31507200000,"createTimeFormat":"1971-01-01","playLink":"http://fancy-oss-hz.oss-cn-hangzhou.aliyuncs.com/flc/channel/english/video/%E6%95%99%E5%AD%A6%E8%A7%86%E9%A2%91/%E5%8F%98%E8%BA%AB%E7%88%B6%E5%AD%90.mp4","resourceDuration":700,"rDurationFormat":"11:40","praiseNums":null}]
     * pageInfo : {"curPage":1,"pageSize":10,"totalRow":1,"totalPage":1}
     */

    private PageInfoBean pageInfo;
    private List<AudioBean> resourceVOList;

    public PageInfoBean getPageInfo() {
        return pageInfo;
    }

    public void setPageInfo(PageInfoBean pageInfo) {
        this.pageInfo = pageInfo;
    }

    public List<AudioBean> getResourceVOList() {
        return resourceVOList;
    }

    public void setResourceVOList(List<AudioBean> resourceVOList) {
        this.resourceVOList = resourceVOList;
    }

    public static class PageInfoBean {
        /**
         * curPage : 1
         * pageSize : 10
         * totalRow : 1
         * totalPage : 1
         */

        private int curPage;
        private int pageSize;
        private int totalRow;
        private int totalPage;

        public int getCurPage() {
            return curPage;
        }

        public void setCurPage(int curPage) {
            this.curPage = curPage;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalRow() {
            return totalRow;
        }

        public void setTotalRow(int totalRow) {
            this.totalRow = totalRow;
        }

        public int getTotalPage() {
            return totalPage;
        }

        public void setTotalPage(int totalPage) {
            this.totalPage = totalPage;
        }
    }

    public static class ResourceVOListBean {
        /**
         * id : 2
         * name : 测试音频资源一
         * coverImg : http://img.fancyedu.com/sys/ic/operation/1476428279958_art-2.jpg
         * recordFrom : 1
         * customerId : 10000021604
         * resourceId : 47
         * createTime : 31507200000
         * createTimeFormat : 1971-01-01
         * playLink : http://fancy-oss-hz.oss-cn-hangzhou.aliyuncs.com/flc/channel/english/video/%E6%95%99%E5%AD%A6%E8%A7%86%E9%A2%91/%E5%8F%98%E8%BA%AB%E7%88%B6%E5%AD%90.mp4
         * resourceDuration : 700
         * rDurationFormat : 11:40
         * praiseNums : null
         */

        private int id;
        private String name;
        private String coverImg;
        private int recordFrom;
        private long customerId;
        private int resourceId;
        private String createTimeFormat;
        private String playLink;
        private int resourceDuration;
        private String rDurationFormat;
        private Object praiseNums;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getCoverImg() {
            return coverImg;
        }

        public void setCoverImg(String coverImg) {
            this.coverImg = coverImg;
        }

        public int getRecordFrom() {
            return recordFrom;
        }

        public void setRecordFrom(int recordFrom) {
            this.recordFrom = recordFrom;
        }

        public long getCustomerId() {
            return customerId;
        }

        public void setCustomerId(long customerId) {
            this.customerId = customerId;
        }

        public int getResourceId() {
            return resourceId;
        }

        public void setResourceId(int resourceId) {
            this.resourceId = resourceId;
        }


        public String getCreateTimeFormat() {
            return createTimeFormat;
        }

        public void setCreateTimeFormat(String createTimeFormat) {
            this.createTimeFormat = createTimeFormat;
        }

        public String getPlayLink() {
            return playLink;
        }

        public void setPlayLink(String playLink) {
            this.playLink = playLink;
        }

        public int getResourceDuration() {
            return resourceDuration;
        }

        public void setResourceDuration(int resourceDuration) {
            this.resourceDuration = resourceDuration;
        }

        public String getRDurationFormat() {
            return rDurationFormat;
        }

        public void setRDurationFormat(String rDurationFormat) {
            this.rDurationFormat = rDurationFormat;
        }

        public Object getPraiseNums() {
            return praiseNums;
        }

        public void setPraiseNums(Object praiseNums) {
            this.praiseNums = praiseNums;
        }
    }
}
